package com.newway.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.newway.common.result.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("notice")
public class Notice extends BaseEntity {

    private Integer id;

    private String title;

    private String summary;

    private String content;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    private String createUser;

    private Integer viewCount;

    private Integer isFirst;

    private String status;//1生效 2不生效

}
